package com.ssy.lingxi.platform.manage.model.request.content;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 资讯管理 - 批量删除/上架/下架 - 请求实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/9/21
 */
@Data
public class ContentInformationBatchRequest {

    @ApiModelProperty(value = "id集合")
    @NotEmpty(message = "id集合不能为空")
    private List<Long> ids;

    @ApiModelProperty(value = "状态 1-批量删除 2-批量上架 3-批量下架")
    @NotNull(message = "状态不能为空")
    private Integer type;
}
